package com.wm.blog_common.bean;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/***
 * @ClassName: QueryPage
 * @Description:
 * @Author: wm_yu
 * @Create_time: 11:08 2020-3-4
 */
public class QueryPage extends Page {
    public QueryPage() {
    }

    public QueryPage(Integer current, Integer size) {
        this.setCurrent(current == null ? 1L : (long)current);
        this.setSize(size == null ? 10L : (long)size);
    }
}
